#ifndef QDATEEDITHOST_H
#define QDATEEDITHOST_H

#include <QDate>

#include "qabstractspinboxhost.h"

namespace SHAREDLIB
{

    class SHAREDLIB_EXPORT QDateEditHost : public QAbstractSpinBoxHost
    {
        Q_OBJECT
    public:
        QDateEditHost(QObject *object);

    public slots:
        void    setDate(int year,int month,int day);
        int     year();
        int     month();
        int     day();

        void    setCurrentSection(int currentSection);
        int     currentSection();
    protected slots:
        void    dateChanged(const QDate &date);
    };

}

#endif // QDATEEDITHOST_H
